1 <?php
2 include(
"header.php");
3
4 include(
"sidebar.php");
5 include(
"dbconnection.php");
6 $sql = mysql_query(
"select * from vehiclestore where vehicleid=$_GET[vahicleid]");
7 $row = mysql_fetch_array($sql);
8 ?>
9         
10                             
11         <div id=
"main">
12         <h3>Vehicle store</h3>
13
14                                             
15         <table width=
"538" border="1">
16           <tr>
17             <td width=
"268">
18             <p><img src=
"upload/<?= $row['images']; ?>" width="208" height="130" align="left" /><br />
19               <br />
20             </p></td>
21             <td width=
"246"><p><strong>Vehicle Name:</strong> <?= $row['vehname']; ?><br />
22               <strong>Model:</strong> <?= $row[
'model']; ?> <br />
23               <strong> Brand:</strong> <?= $row[
'brand']; ?><br />
24               <br />
25               <br />
26             </p></td>
27           </tr>
28           <tr>
29             <td>Other Information</td>
30             <td><p><?= $row[
'description']; ?></p>
31             </td>
32           </tr>
33           <?php
34           $sql = mysql_query(
"select paid from booking where vehicleid='$_GET[vahicleid]'");
35           $row = mysql_fetch_array($sql);
36           ?>
37           <tr>
38             <td colspan=
"2"><strong>Paid price: Rs.<?= $row['paid']; ?></strong></td>
39           </tr>
40            </table>
41         </div>
42         
43 <!-- wrap ends here -->
44 </div>
45         
46 <?php
47 include(
"footer.php");
48 ?>


Gõ tìm kiếm nhanh...